import React from 'react';
import { Link } from 'react-router-dom';
import styles from './style.module.scss';

import Button from 'components/Button';

import backgroundImg from './images/background.png'

export default function Main(props) {

    return (
        <div className={styles.container}>
            <div className={styles.content}>
                <img className={styles.backgroundImg} src={backgroundImg} alt="背景" />
                <div className={styles.buttonContent}>
                    <Link to="/login">
                        <Button animation={'draw'} size={'large'}>幽钥的账户</Button>
                    </Link>
                </div>
            </div>
        </div>
    )
}